/*
 * @Author: 许旺玉
 * @Description: 用户 -> 登录接口
 * @Date: 2020-06-28 13:57:37
 * @LastEditTime: 2020-06-29 10:54:22
 * @LastEditors: Please set LastEditors
 */ 
import { ajaxPost } from '@/utlis/request.js'

export function login(data) { //登录
    const url = 'login'
    return ajaxPost(url, data)
    
}

export function wx_login(data) { //微信登录
    const url = 'wx/login'
    return ajaxPost(url, data)
}